package tk.mybatis.springboot.wexin.bean;

import java.math.BigDecimal;
import java.util.Date;

import tk.mybatis.springboot.wexin.enums.WechatMessageTypeEnum;

public class WeChatMessage {

	/** 开发者微信号 */
	private String to_user_name;
	/** 发送方帐号（一个OpenID） */
	private String from_user_name;
	/** 消息创建时间 （整型） */
	private Date create_date;
	/** 消息类型 */
	private WechatMessageTypeEnum msg_type;
	/** 消息id，64位整型 */
	private String msg_id;
	private int FuncFlag; 
	/** 文本消息内容 */
	private String content;
	/** 图片链接地址 */
	private String pic_url;
	/** 图片、语音等媒体的消息id */
	private String media_id;
	/** 媒体消息的缩略图id */
	private String thumb_media_id;
	/** 媒体消息类型 */
	private String format;
	/** 地理位置经度 */
	private BigDecimal location_y;
	/** 地理位置纬度 */
	private BigDecimal location_x;
	/** 地图缩放大小 */
	private String scale;
	/** 地理位置信息 */
	private String label;
	/** 链接消息的标题 */
	private String title;
	/** 链接消息描述 */
	private String description;
	/** 主消息链接 */
	private String url;

	public int getFuncFlag() {
		return FuncFlag;
	}

	public void setFuncFlag(int funcFlag) {
		FuncFlag = funcFlag;
	}

	public String getTo_user_name() {
		return to_user_name;
	}

	public void setTo_user_name(String to_user_name) {
		this.to_user_name = to_user_name;
	}

	public String getFrom_user_name() {
		return from_user_name;
	}

	public void setFrom_user_name(String from_user_name) {
		this.from_user_name = from_user_name;
	}

	public Date getCreate_date() {
		return create_date;
	}

	public void setCreate_date(Date create_date) {
		this.create_date = create_date;
	}

	public WechatMessageTypeEnum getMsg_type() {
		return msg_type;
	}

	public void setMsg_type(WechatMessageTypeEnum msg_type) {
		this.msg_type = msg_type;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public String getMsg_id() {
		return msg_id;
	}

	public void setMsg_id(String msg_id) {
		this.msg_id = msg_id;
	}

	public WeChatMessage() {
		super();
	}

	public String getPic_url() {
		return pic_url;
	}

	public void setPic_url(String pic_url) {
		this.pic_url = pic_url;
	}

	public String getMedia_id() {
		return media_id;
	}

	public void setMedia_id(String media_id) {
		this.media_id = media_id;
	}

	public String getThumb_media_id() {
		return thumb_media_id;
	}

	public void setThumb_media_id(String thumb_media_id) {
		this.thumb_media_id = thumb_media_id;
	}

	public String getFormat() {
		return format;
	}

	public void setFormat(String format) {
		this.format = format;
	}

	public BigDecimal getLocation_y() {
		return location_y;
	}

	public void setLocation_y(BigDecimal location_y) {
		this.location_y = location_y;
	}

	public BigDecimal getLocation_x() {
		return location_x;
	}

	public void setLocation_x(BigDecimal location_x) {
		this.location_x = location_x;
	}

	public String getScale() {
		return scale;
	}

	public void setScale(String scale) {
		this.scale = scale;
	}

	public String getLabel() {
		return label;
	}

	public void setLabel(String label) {
		this.label = label;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}
}
